#ifndef xpack_lang_cxx_is_contains
#define xpack_lang_cxx_is_contains
#pragma push_macro("xuser")
#undef  xuser
#define xuser mixc::lang_cxx::inc
#include"define/base_type.hpp"
#include"lang/cxx/index_of_first.hpp"
#include"lang/cxx.hpp"
#pragma pop_macro("xuser")

namespace mixc::lang_cxx{
    template<class item_t>
    inline bool cxx<item_t>::is_contains(item_cref_t value, invoke_compare_t compare) const {
        return xthe.index_of_first(value, compare) != not_exist;
    }

    template<class item_t>
    inline bool cxx<item_t>::is_contains(the_cref_t value, invoke_compare_t compare) const {
        return xthe.index_of_first(value, compare) != not_exist;
    }
}

#endif
